/**
 * 
 */
package me.myachievements.persistence.goal;

import org.springframework.transaction.annotation.Transactional;

import me.myachievements.persistence.PersistenceManager;

/**
 * @author besseym
 *
 */
public interface GoalPersistenceManager extends PersistenceManager<Goal> {
	
	/**
	 * Get Goal with the given id;
	 * @param id
	 * @return
	 */
	@Transactional
	Goal get(Long id);
	
	/**
	 * Get Goal with the given title;
	 */
	@Transactional
	Goal get(String title);

}
